<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<html>
<head>
    <title>活动报名记录</title>
</head>

<body>
<div class="content">
    <!--
        <div class="page-subcate-list">

            <div class="page-subcate-item">
                <label for="">活动时间</label>

                <div class="form-item">
                    <input type="text" class="form-control" id="startDate" placeholder="">
                    <input type="text" class="form-control" id="endDate" placeholder="">
                </div>
                <label for="">活动名称</label>

                <div class="form-item">
                    <input type="text" class="form-control" id="title" placeholder="" value="">

                    <div class="pull-right">
                        <button onclick="javascript:searchActivity();" class="pull-left btn">查询</button>
                        <button class="pull-left btn"><i class="fa fa-plus" aria-hidden="true"></i>发布活动</button>
                    </div>
                </div>
            </div>
        <div class="page-subcate-item">
            <label>活动标签</label>
            <ul class="choices">
                <li><a href="#">XXXXX</a></li>
                <li><a href="#">XXXXX</a></li>
                <li><a href="#">XXXXX</a></li>
                <li><a href="#">XXXXX</a></li>
            </ul>
            <span class="more">
                <a href="#">更多 <i class="fa fa-angle-down" aria-hidden="true"></i></a>
            </span>
        </div>

    </div>
-->

    <div class="page-volunteer-recruitment-grid">
        <ul>
            <c:forEach items="${data.content}" var="item">
                <li>
                    <div class="volunteer-recruitment-card">

                        <div class="volunteer-info">
                            <a href="${ctx}/volunteer/detail/${item.volunteer.memberCode}">
                                <img alt="" class="user-avatar" src="${item.volunteer.headUrl}">
                                <div class="card-title">
                                    ${item.volunteer.nickName}
                                    <i class="fa fa-trophy gold" aria-hidden="true"></i>
                                    <i class="fa fa-trophy silver" aria-hidden="true"></i>
                                    <i class="fa fa-trophy bronze" aria-hidden="true"></i>
                                </div>
                            </a>
                        </div>
                        <!--
                        <div class="card-body">
                            <div class="card-users"><i class="fa fa-heart" aria-hidden="true"></i>${item.volunteer.acts}次公益活动，共${item.volunteer.times}分钟公益时间</div>
                        </div>
                        -->
                        <div class="card-footer">
                            <div class="pull-right">
                                <div class="card-edit"><a href="#"><i class="fa fa-pencil" aria-hidden="true"></i></a></div>
                                <div class="card-delete"><a href="#"><i class="fa fa-trash" aria-hidden="true"></i></a></div>
                            </div>
                        </div>

                    </div>

                </li>
            </c:forEach>
        </ul>
    </div>
    <div>
        <button class="btn" onclick="history.go(-1);">返回</button>
    </div>
</div>
</body>
</html>
